home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / libraries / mui20dev.lha / MUI / Developer / C / Include / clib / muimaster_protos.h
C/C++ Source or Header  |  1994-02-11  |  2KB  |  46 lines

  1. #ifndef  CLIB_MUIMASTER_PROTOS_H
  2. #define  CLIB_MUIMASTER_PROTOS_H
  3.  
  4. #ifndef EXEC_TYPES_H
  5. #include <exec/types.h>
  6. #endif
  7. #ifndef INTUITION_CLASSES_H
  8. #include <intuition/classes.h>
  9. #endif
  10. #ifndef UTILITY_TAGITEM_H
  11. #include <utility/tagitem.h>
  12. #endif
  13.  
  14. #ifdef __cplusplus
  15. #extern "C" {
  16. #endif
  17.  
  18. /* functions to be used in applications */
  19.  
  20. APTR MUI_NewObjectA         (char *classname,struct TagItem *tags);
  21. APTR MUI_NewObject          (char *classname,Tag tag1,...);
  22. VOID MUI_DisposeObject      (APTR obj);
  23. LONG MUI_RequestA           (APTR app,APTR win,LONGBITS flags,char *title,char *gadgets,char *format,APTR params);
  24. LONG MUI_Request            (APTR app,APTR win,LONGBITS flags,char *title,char *gadgets,char *format,...);
  25. LONG MUI_Error              (VOID);
  26. APTR MUI_AllocAslRequest    (unsigned long reqType, struct TagItem *tagList);
  27. APTR MUI_AllocAslRequestTags(unsigned long reqType, Tag Tag1, ...);
  28. VOID MUI_FreeAslRequest     (APTR requester );
  29. BOOL MUI_AslRequest         (APTR requester, struct TagItem *tagList);
  30. BOOL MUI_AslRequestTags     (APTR requester, Tag Tag1, ...);
  31.  
  32.  
  33. /* functions to be used with custom classes */
  34.  
  35. LONG                  MUI_SetError    (LONG num);
  36. struct IClass *       MUI_GetClass    (char *classname);
  37. VOID                  MUI_FreeClass   (struct IClass *classptr);
  38. VOID                  MUI_RequestIDCMP(Object *obj,ULONG flags);
  39. VOID                  MUI_RejectIDCMP (Object *obj,ULONG flags);
  40. APTR                  MUI_Redraw      (Object *obj,ULONG flags);
  41.  
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45. #endif /* CLIB_MUIMASTER_PROTOS_H */
  46.